<?php

namespace Pepv\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ProfilType
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Pepv\MainBundle\Entity\ProfilTypeRepository")
 */
class ProfilType
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    private $name;

    /**
     * @var array
     *
     * @ORM\Column(name="consosParHeure", type="array")
     */
    private $consosParHeure;

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return ProfilType
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set consosParHeure
     *
     * @param array $consosParHeure
     * @return ProfilType
     */
    public function setConsosParHeure($consosParHeure)
    {
        $this->consosParHeure = $consosParHeure;

        return $this;
    }

    /**
     * Get consosParHeure
     *
     * @return array 
     */
    public function getConsosParHeure()
    {
        return $this->consosParHeure;
    }
}
